package sg.edu.nus.dashboard.stat.control.event
{
	import com.adobe.cairngorm.control.CairngormEvent;
	
	import flash.events.Event;
	
	public class GetStatEvent extends CairngormEvent
	{
		public static const EVENT_NAME:String = "getStatEvent";
		public var paraName:String;
		public var fromTime:Date;
		public var toTime:Date;
		
		public function GetStatEvent(paraName:String, fromTime:Date, toTime:Date) {
			super(EVENT_NAME);
			this.paraName = paraName;
			this.fromTime = fromTime;
			this.toTime = toTime;
		}
		
		public override function clone():Event {
			return new GetStatEvent(this.paraName, this.fromTime, this.toTime);
		}
	}
}